<?php
/**
 *
 * @author Ishtiaque Shahrier <md.ishtiaque@newgenbd.net>
 * @package acl
 * @subpackage models
 */
class group_user_m_acl extends a_base_model_datamapper {

    public function __construct($id=null) {
        $this->table = 'acl_groups_users';
        $this->has_many = array(
        );
        $this->has_one = array(
        );
        parent::__construct($id);
    }

    public function get_group(){
        $obj = new group_m_acl($this->acl_group_id);
        return $obj->exists() ? $obj : NULL;
    }
    public function get_user(){
        $obj = new user_m_user($this->user_id);
        return $obj->exists() ? $obj : NULL;
    }

}
?>